package sessionBeans;

import java.util.Set;

import javax.ejb.Stateless;

import entityBeans.Address;
import entityBeans.ContactGroup;
import entityBeans.PhoneNumber;

/**
 * Session Bean implementation class GestionContactBean
 */
@Stateless(mappedName="ContactBean")
public class GestionContactBean implements GestionContactRemote {

	public String coucouContact(String nomContact) {
		return "Coucou, "+nomContact;

	}

	//@Override
	//public void addContact(String fname, String lname, String email) {
		// TODO Auto-generated method stub
		
	//}

	@Override
	public String findContactNameById(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void addContact(String firstname, String lastname, String email,
			Address ad, Set<PhoneNumber> phones, Set<ContactGroup> books,
			String siret) {
		// TODO Auto-generated method stub
		
	}
} 
